<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>用户登录</title>
    <!-- link rel="stylesheet" type="text/css" th:href="@{/css/registration.css}" /-->
    <link crossorigin="anonymous" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" href="https://lib.baomitu.com/twitter-bootstrap/3.4.1/css/bootstrap.min.css" rel="stylesheet">
    <script crossorigin="anonymous" integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ==" src="https://lib.baomitu.com/jquery/3.6.0/jquery.min.js"></script>
    <script crossorigin="anonymous" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" src="https://lib.baomitu.com/twitter-bootstrap/3.4.1/js/bootstrap.min.js"></script>
    <!--    <link rel="stylesheet" th:href="@{/css/register.css}">-->
    <link rel="stylesheet" th:href="@{/css/login.css}">


</head>

<body>
<div class="logo"></div>
<hr>
<div class="bg">
<div class="going">
    <div class="tu"></div>
    <h3 >登录</h3>
</div>
<form autocomplete="off" th:action="@{/login/form}"  method="post" class="login" role="form"
      style="margin-left: auto;margin-right: auto">



    <div class="form-group">
        <input type="text"  placeholder="用户名" class="content-input" name="username"
               style="display:block;margin-left: auto;margin-right: auto"/>
    </div>
    <div class="form-group">
        <input type="password" placeholder="密码" class="content-input" name="password"
               style="display:block;margin-left: auto;margin-right: auto"/>
    </div>

    <div class="form-group">
        <button type="submit" class="btn border-bottom go"
                style="display:block; margin-left: auto;margin-right: auto">登录</button>
    </div>


</form>


<p class="gone"  style="display:block; margin-left: auto;margin-right: auto">
   还没有账号？
    <a th:href="@{/register}" >--->注册一个</a>
    <!--        class="paper-btn"-->
</p >

</div>

<div class="error" th:if="${param.error}"
     th:text="${session.SPRING_SECURITY_LAST_EXCEPTION.message}"></div>
</body>
</html>